<?php

namespace app\warehouse\controller;
use app\common\controller\PCBase;
use app\common\library\Upload;
use app\warehouse\logic\PartitionLogic;
use Throwable;
use  think\App;
class Partition extends PCBase
{

    /**
     * @desc   仓库列表
     * @author zhangheng
     * @date   2024-11-30
     */
    public function getPartitionList(){
        $params     = $this->request->post();
        return  (new PartitionLogic())->getPartitionList($params);
    }

    /**
     * @desc   仓库列表添加
     * @author zhangheng
     * @date   2024-11-30
     */
    public function add(){
        $params     = $this->request->post();
        return  (new PartitionLogic())->add($params);
    }

    /**
     * @desc   仓库列表修改
     * @author zhangheng
     * @date   2024-11-30
     */
    public function edit(){
        $params     = $this->request->post();
        return  (new PartitionLogic())->edit($params);
    }

    /**
     * @desc   仓库列表详情
     * @author zhangheng
     * @date   2024-11-30
     */
    public function find(){
        $params     = $this->request->post();
        return  (new PartitionLogic())->find($params);
    }

}